package com.qianyu.project.service;

import com.qianyu.project.entity.LeaseContract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qianyu.project.entity.LeaseContractDetail;

import java.util.List;

/**
 * <p>
 * 租赁合同 服务类
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
public interface ILeaseContractService extends IService<LeaseContract> {

    String getMaxid();

    Integer saveLease(LeaseContract leaseContract, List<LeaseContractDetail> leaseContractDetails);
}
